package cn.yangliu.jpa.annotations.sql;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * The interface Jpa sql mapping.
 *
 * @author 问道于盲
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface JpaSqlMapping {

	/**
	 * Column string.
	 *
	 * @return the string
	 */
	String column() default "";

	/**
	 * Skip boolean.
	 *
	 * @return the boolean
	 */
	boolean skip() default false;
}
